package com.gopay.gass.domain;


import com.gopay.gass.base.common.BaseEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by HJY on 2015/3/20.
 */
@Entity
@Table(name = "GASS_MAIN_ORDER")
public class GassMainOrder extends BaseEntity {

    @Id
    @Column(name = "GASS_ID")
    private String gassId;

    @Column(name = "GOPAY_ORDER_ID")
    private String gopayOrderId;

    @Column(name = "PAY_BANK_CODE")
    private String payBankCode;


    @Version
    @Column(name = "VERSION")
    private int version;

    @Column(name = "ORDER_SOURCE")
    private String orderSource;

    @Column(name = "STLM_STATUS")
    private Integer stlmStatus;

    @Column(name = "ORDER_REQ_TM")
    @Temporal(TemporalType.TIMESTAMP)
    private Date orderReqTm;

    @Column(name = "ORDER_RESP_TM")
    @Temporal(TemporalType.TIMESTAMP)
    private Date orderRespTm;

    @Column(name = "STLM_DES")
    private String stlmDes;

    @Column(name = "RESP_TYPE")
    private String respType;

    @Column(name = "NOTIFY_URL")
    private String notifyUrl;

    @Column(name = "NOTIFY_STATUS")
    private String notifyStatus;

    @Column(name = "NOTIFY_TM")
    @Temporal(TemporalType.TIMESTAMP)
    private Date notifyTm;

    @Column(name = "NOTIFY_COUNT")
    private int notifyCount;

    @Column(name = "CREATED_TS")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createdTs;

    @Column(name = "LAST_UPD_TS")
    @Temporal(TemporalType.TIMESTAMP)
    private Date lastUpdTs;

    @Column(name = "REMARK1")
    private String remark1;

    @Column(name = "REMARK2")
    private String remark2;

    public String getGassId() {
        return gassId;
    }

    public void setGassId(String gassId) {
        this.gassId = gassId;
    }

    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

    public void setStlmStatus(Integer stlmStatus) {
        this.stlmStatus = stlmStatus;
    }

    public Integer getStlmStatus() {
        return stlmStatus;
    }

    public Date getOrderReqTm() {
        return orderReqTm;
    }

    public void setOrderReqTm(Date orderReqTm) {
        this.orderReqTm = orderReqTm;
    }

    public Date getOrderRespTm() {
        return orderRespTm;
    }

    public void setOrderRespTm(Date orderRespTm) {
        this.orderRespTm = orderRespTm;
    }

    public String getStlmDes() {
        return stlmDes;
    }

    public void setStlmDes(String stlmDes) {
        this.stlmDes = stlmDes;
    }

    public String getRespType() {
        return respType;
    }

    public void setRespType(String respType) {
        this.respType = respType;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getNotifyStatus() {
        return notifyStatus;
    }

    public void setNotifyStatus(String notifyStatus) {
        this.notifyStatus = notifyStatus;
    }

    public Date getNotifyTm() {
        return notifyTm;
    }

    public void setNotifyTm(Date notifyTm) {
        this.notifyTm = notifyTm;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public int getNotifyCount() {
        return notifyCount;
    }

    public void setNotifyCount(int notifyCount) {
        this.notifyCount = notifyCount;
    }

    public String getPayBankCode() {
        return payBankCode;
    }

    public void setPayBankCode(String payBankCode) {
        this.payBankCode = payBankCode;
    }
}
